package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppRoomAdminDao;
import com.vf.admin.client.service.AppRoomAdminService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppRoomAdmin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 房间排麦
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppRoomPaimaiServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月29日 14:51:00
 */
@Service
public class AppRoomAdminServiceImpl implements AppRoomAdminService{

    @Autowired
    AppRoomAdminDao appRoomAdminDao;

    @Override
    public AppRoomAdmin get(Integer id) {
        return appRoomAdminDao.get(id);
    }

    @Override
    public void save(AppRoomAdmin haoYou) {
        appRoomAdminDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        appRoomAdminDao.del(id);
    }

    @Override
    public AppRoomAdmin getRoom(Integer roomid, Integer adminuserid) {
        return appRoomAdminDao.getRoom(roomid, adminuserid);
    }

    @Override
    public List<AppRoomAdmin> adminList(Integer roomid, SplitPageBean splitPageBean) {
        return appRoomAdminDao.adminList(roomid,splitPageBean);
    }

}
